<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
	<script>
		$(function() {
			$("button").click(function() {
				$.ajax({
					type: "get",
					dataType: "jsonp",
					url: "http://10.8.166.15/Web/weather.action?callback=?",
					success: function(data) {
						console.log(data)
						var weather = eval("("+data+")");
						console.log(weather)
					}
				});
			});
		});
	</script>

	<body>
		<button>请求</button>
	</body>

</html>